package main

import (
	"gitee.com/wochong/git_test.git/controller"
	"github.com/kataras/iris/v12"
)

func main() {
	app := iris.New()
	app.Get("/", controller.Hello)
	app.Get("/ping", controller.Ping)
	app.Get("/name", controller.GetName)
	app.Get("/sex", controller.GetSex)
	app.Get("/country", controller.GetCountry)

	app.Listen(":8080")
}
